<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>标题</title>
</head>
<body>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<form action="http://192.168.43.43:8080/chat/Upload" method="post" enctype="multipart/form-data">
    <label>
        用户名：
        <input type="text" name="username">
    </label><br>
    头像：<input type="file" name="photo"><br>
    <input type="submit" value="上传">
</form>

</body>
</html>
